package com.ranchuanyin.schoolcat.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @TableName cat_group
 */
@TableName(value = "cat_group", autoResultMap = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CatGroup implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    private String id;
    /**
     *
     */
    @TableField(typeHandler = FastjsonTypeHandler.class)
    private List<String> userIds;
    /**
     *
     */
    private String avatar;

    private String username;


}